<#assign baseURL = springMacroRequestContext.getContextPath() />
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>拓深科技</title>
    <link href="assets/css/bootstrap.min.css" rel="stylesheet">
    <link href="assets/font-awesome/css/font-awesome.css" rel="stylesheet">
    <link href="assets/css/animate.css" rel="stylesheet">
    <link href="assets/css/style.css" rel="stylesheet">
</head>
<body class="gray-bg">
    <div class="loginColumns animated fadeindown">
        <div class="row">
            <div class="col-md-6">
                <h2 class="font-bold">欢迎使用水压监测系统</h2>
                <p>多维感知</p>
                <p>可视物联</p>
                <p>最佳实践</p>
            </div>
            <div class="col-md-6">
                <div class="ibox-content">
                    <form class="m-t" role="form" action="${baseURL}/water/user/login" METHOD="post">
                        <div class="form-group">
                            <input type="text" class="form-control" placeholder="账号" name="user_name" required="" value=<#if user??>${user}</#if>>
                        </div>
                        <div class="form-group">
                            <input type="password" class="form-control" placeholder="密码" name="user_password" required="">
                        </div>

                        <#if error??>
                        <p class="font-bold red-bg">${error}</p>
                        </#if>

                        <button type="submit" class="btn btn-primary block full-width m-b">登录</button>
                    </form>
                </div>
            </div>
        </div>
        <hr/>
        <div class="row">
            <div class="col-md-6">
                杭州拓深科技智能物联网系统
            </div>
            <div class="col-md-6 text-right">
                <small>© 2015-2016</small>
            </div>
        </div>
    </div>

<script>



</script>
</body>
</html>